//
//  TextFiel.m
//  Teacher
//
//  Created by cong on 15/11/14.
//  Copyright © 2015年 liangdianxiong. All rights reserved.
//

#import "TextFiel.h"

@implementation TextFiel
- (CGRect)textRectForBounds:(CGRect)bounds {
    return CGRectInset(bounds, 20, 0);
}

//控制文本的位置
- (CGRect)editingRectForBounds:(CGRect)bounds {
    return CGRectInset(bounds, 20, 0);
}

@end
